const path = require('path');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const { VueLoaderPlugin } = require('vue-loader')
module.exports = {
    plugins: [new MiniCssExtractPlugin(),
        new VueLoaderPlugin()

    ],
    module: {
        rules: [{
                test: /\.css$/i,
                use: [MiniCssExtractPlugin.loader, 'css-loader'],
            }, {
                test: /\.vue$/,
                loader: 'vue-loader'
            }

        ],
    },
};